package io.renren.modules.generator.controller.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * 企业监管流程网格员，安全专家核实
 *
 * @author zd
 * @date 2020-09-21 22:05:44
 */
@Data
@ApiModel(value = "企业监管流程网格员，安全专家核实实体对象", description = "企业监管流程网格员，安全专家核实实体对象")
public class EnterpriseSupervisionVerifyVo implements Serializable {

	/**
	 * 巡检事件Id
	 */
	@NotBlank(message = "巡检事件Id不能为空！")
	@ApiModelProperty(name = "id", dataType = "String", value = "巡检事件Id")
	private String id;

	/**
	 * 处理状态（0：未解决，1：已解决）
	 */
	@NotBlank(message = "处理状态不能为空!")
	@Pattern(regexp = "0|1", message = "处理状态只能输入0或1")
	@ApiModelProperty(name = "processStatus", dataType = "String", value = "处理状态（0：未解决，1：已解决）")
	private String processStatus;

	/**
	 * 照片
	 */
	@ApiModelProperty(name = "pics", dataType = "String", value = "照片地址")
	private String pics;

	/**
	 * 坐标经度
	 */
	@ApiModelProperty(name = "lon", dataType = "String", value = "坐标经度")
	private String lon;

	/**
	 * 坐标纬度
	 */
	@ApiModelProperty(name = "lat", dataType = "String", value = "坐标纬度")
	private String lat;

	/**
	 * 备注
	 */
	@NotBlank(message = "备注不能为空！")
	@ApiModelProperty(name = "remark", dataType = "String", value = "备注")
	private String remark = "";

	/**
	 * 坐标地点名称
	 */
	@ApiModelProperty(name = "address", dataType = "String", value = "坐标地点名称")
	private String address;

	/**
	 * 用户编号
	 */
	@ApiModelProperty(name = "userNo", dataType = "String", value = "用户编号",hidden = true)
	private String userNo;

	/**
	 * 用户名
	 */
	@ApiModelProperty(name = "userName", dataType = "String", value = "用户名",hidden = true)
	private String userName;

	/**
	 * 角色编码
	 */
	@ApiModelProperty(name = "roleCode", dataType = "String", value = "角色编码",hidden = true)
	private String roleCode;

	/**
	 * 角色类型
	 */
	@ApiModelProperty(name = "roleType", dataType = "String", value = "角色类型",hidden = true)
	private Integer roleType;
}
